package com.seven.webhook.service;

import com.seven.webhook.model.MonitorRule;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author seven
 * @since 2020-11-09
 */
public interface MonitorRuleService extends IService<MonitorRule> {

    @Override
    boolean saveOrUpdate(MonitorRule entity);

    MonitorRule getByRuleName(String ruleName);
/*
    boolean changeAlert(String id,boolean isAlert);*/

}
